package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 预付款申请(aigis_yfkgl_2025041014402110)
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_yfkgl_2025041014402110")
public class PrepaymentApplicationDO extends BaseDO {

    /**
     * 预付款申请单号
     */
    @TableField("comInputField101")
    private String prepaymentApplicationNo;

    /**
     * 公司
     */
    @TableField("selectField102")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("popupTableSelectField117")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField112")
    private String supplierCode;

    /**
     * 银行名称
     */
    @TableField("comInputField118")
    private String bankName;

    /**
     * 账户名称
     */
    @TableField("comInputField119")
    private String accountName;

    /**
     * 银行账号
     */
    @TableField("comInputField120")
    private String bankAccount;

    /**
     * 付款方式
     */
    @TableField("selectField121")
    private String paymentMethod;

    /**
     * 付款类型
     */
    @TableField("selectField122")
    private String paymentType;

    /**
     * 付款日期
     */
    @TableField("dateField123")
    private LocalDateTime paymentDate;

    /**
     * 订单编号
     */
    @TableField("popupTableSelectField126")
    private String orderNo;

    /**
     * 合同编号
     */
    @TableField("popupTableSelectField127")
    private String contractNp;

    /**
     * 可预付金额
     */
    @TableField("numInputField129")
    private BigDecimal prepayableAmount;

    /**
     * 单据总金额
     */
    @TableField("numInputField130")
    private BigDecimal totalDocumentAmount;

    /**
     * 已预付金额
     */
    @TableField("numInputField131")
    private BigDecimal prepaidAmount;

    /**
     * 预付审批中金额
     */
    @TableField("numInputField133")
    private BigDecimal pendingPrepaymentAmount;

    /**
     * 预付比例(%)
     */
    @TableField("numInputField134")
    private BigDecimal prepaymentRatio;

    /**
     * 币种
     */
    @TableField("selectField135")
    private String currency;

    /**
     * 申请人
     */
    @TableField("usersSelectField136")
    private String applicant;
}